import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { FormsModule } from "@angular/forms";
import {
  ModalModule,
  TabsModule,
  TooltipModule,
  BsDropdownModule,
} from "ngx-bootstrap";
import { AppCommonModule } from "@app/shared/common/app-common.module";
import { UtilsModule } from "@shared/utils/utils.module";
import { PlanRoutingModule } from "./plan-routing.module";
import { CountoModule } from "@node_modules/angular2-counto";
import { EasyPieChartModule } from "ng2modules-easypiechart";
//import { ModelsComponent } from './model/model.component';
import {
  CheckboxModule,
  DataTableModule,
  TabMenuModule,
} from "primeng/primeng";
import { PaginatorModule } from "primeng/primeng";
import { TreeTableModule, TreeNode } from "primeng/primeng";
import {
  InputTextModule,
  CalendarModule,
  InputSwitchModule,
  MultiSelectModule,
  DropdownModule,
} from "primeng/primeng";
import { TableModule } from "primeng/components/table/table";
import { MaintaskComponent } from "./maintasks/maintask.component";
import { CreateOrEditOrderMainTaskComponent } from "./maintasks/create-or-edit-order-modal.component";
import { SidetaskComponent } from "./sidetasks/sidetask.component";
import { DeliveryTasksComponent } from "./batch-tasks/delivery-tasks.component";
import { CreateOrEditMainTaskComponent } from "./maintasks/create-or-edit-maintask-modal.component";
import { PutIntoProductionModalComponent } from "./maintasks/put-into-production-modal.component";
import { MonthsComponent } from "./month/month.component";
import { DistributionComponent } from "./distribution/distribution.component";
import { BoundReadytechdocModalComponent } from "./ready/bound-readytechdoc-modal.component";
import { SetWorkshopremarkComponent } from "./ready/set-workshopremark.component";
import { ReadyComponent } from "./ready/ready.component";
import { BoundReadymaterialModalComponentComponent } from "./ready/bound-readymaterial-modal.component";
import { BoundGangModalComponent } from "./distribution/bound-gang-modal.component";
import { BoundUserModalComponent } from "./distribution/bound-user-modal.component";
import { BoundReadytoolModalComponentComponent } from "./ready/bound-readytool-modal.component";
import { ToolingreadyComponent } from "./ready/toolingready.component";
import { MaterialreadyComponent } from "./ready/materialready.component";
import { DistributionuserComponent } from "./distribution/distributionuser.component";
import { DistributiongangComponent } from "./distribution/distributiongang.component";
import { OutplanComponent } from "./outplan/outplan.component";
import { OutplanPrintModalComponent } from "./outplan/outplan-print-modal.component";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    ModalModule,
    TabsModule,
    TooltipModule,
    AppCommonModule,
    UtilsModule,
    PlanRoutingModule,
    CountoModule,
    EasyPieChartModule,
    DataTableModule,
    TableModule,
    MultiSelectModule,
    PaginatorModule,
    TreeTableModule,
    CalendarModule,
    InputTextModule,
    InputSwitchModule,
    DropdownModule,
    CalendarModule,
    BsDropdownModule.forRoot(),
    TabMenuModule,
    CheckboxModule,
  ],
  declarations: [
    // ModelsComponent,
    // CreateOrEditOrderModalComponent,
    // PutIntoProductionModalComponent,
    MonthsComponent,
    MaintaskComponent,
    CreateOrEditOrderMainTaskComponent,
    PutIntoProductionModalComponent,
    SidetaskComponent,
    DeliveryTasksComponent,
    CreateOrEditMainTaskComponent,
    BoundReadytechdocModalComponent,
    SetWorkshopremarkComponent,
    DistributionComponent,
    ReadyComponent,
    BoundReadymaterialModalComponentComponent,
    BoundGangModalComponent,
    BoundUserModalComponent,
    BoundReadytoolModalComponentComponent,
    ToolingreadyComponent,
    MaterialreadyComponent,
    DistributionuserComponent,
    DistributiongangComponent,
    OutplanComponent,
    OutplanPrintModalComponent,
  ],
})
export class PlanModule {}
